EitherSerializer

class EitherSerializer<T1, T2>(t1Serializer: <Error class: unknown class><T1>, t2Serializer: <Error class: unknown class><T2>)

Constructors

Link copied to clipboard
fun <T1, T2> EitherSerializer(t1Serializer: <Error class: unknown class><T1>, t2Serializer: <Error class: unknown class><T2>)

Functions

Link copied to clipboard
open fun deserialize(decoder: <Error class: unknown class>): Either<T1, T2>
Link copied to clipboard
open fun serialize(encoder: <Error class: unknown class>, value: Either<T1, T2>)

Properties

Link copied to clipboard
open val descriptor: <Error class: unknown class>